.class public Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;
.super Lcom/waiqin365/lightapp/base/WqBaseActivity;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field public a:Landroid/os/Handler;

.field private b:Ljava/lang/String;

.field private c:Lcom/waiqin365/base/login/mainview/TitleBar;

.field private d:Lcom/waiqin365/lightapp/view/CustomerSelectView;

.field private e:Lcom/waiqin365/lightapp/view/LabelViewH;

.field private f:Lcom/waiqin365/lightapp/kehu/view/MultilineTextView;

.field private g:Landroid/widget/EditText;

.field private h:Landroid/widget/Button;

.field private i:Z

.field private j:Ljava/lang/String;

.field private k:Lcom/waiqin365/lightapp/chexiao/b/a/bp;

.field private l:D

.field private m:Lcom/waiqin365/lightapp/chexiao/b/a/au;

.field private n:D

.field private o:Lcom/waiqin365/lightapp/product/c/h;


# direct methods
.method public constructor <init>()V
    .locals 4

    const-wide/16 v2, 0x0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;-><init>()V

    invoke-static {}, Ljava/util/UUID;->randomUUID()Ljava/util/UUID;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/UUID;->toString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->b:Ljava/lang/String;

    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->i:Z

    const-string/jumbo v0, ""

    iput-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->j:Ljava/lang/String;

    iput-wide v2, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->l:D

    iput-wide v2, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->n:D

    new-instance v0, Lcom/waiqin365/lightapp/chexiao/dr;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/chexiao/dr;-><init>(Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->a:Landroid/os/Handler;

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;D)D
    .locals 1

    iput-wide p1, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->l:D

    return-wide p1
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;)Lcom/waiqin365/lightapp/chexiao/b/a/au;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->m:Lcom/waiqin365/lightapp/chexiao/b/a/au;

    return-object v0
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;Lcom/waiqin365/lightapp/chexiao/b/a/au;)Lcom/waiqin365/lightapp/chexiao/b/a/au;
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->m:Lcom/waiqin365/lightapp/chexiao/b/a/au;

    return-object p1
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;Lcom/waiqin365/lightapp/chexiao/b/a/bp;)Lcom/waiqin365/lightapp/chexiao/b/a/bp;
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->k:Lcom/waiqin365/lightapp/chexiao/b/a/bp;

    return-object p1
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;)D
    .locals 2

    iget-wide v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->l:D

    return-wide v0
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;D)D
    .locals 1

    iput-wide p1, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->n:D

    return-wide p1
.end method

.method static synthetic c(Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;)Lcom/waiqin365/lightapp/view/LabelViewH;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->e:Lcom/waiqin365/lightapp/view/LabelViewH;

    return-object v0
.end method

.method static synthetic d(Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic e(Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic f(Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;)Lcom/waiqin365/lightapp/chexiao/b/a/bp;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->k:Lcom/waiqin365/lightapp/chexiao/b/a/bp;

    return-object v0
.end method

.method static synthetic g(Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic h(Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;)Landroid/widget/Button;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->h:Landroid/widget/Button;

    return-object v0
.end method

.method static synthetic i(Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic j(Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->mContext:Landroid/content/Context;

    return-object v0
.end method


# virtual methods
.method public a()V
    .locals 3

    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->d:Lcom/waiqin365/lightapp/view/CustomerSelectView;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/view/CustomerSelectView;->e()Lcom/waiqin365/lightapp/kehu/b/am;

    move-result-object v1

    if-eqz v1, :cond_0

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->d:Lcom/waiqin365/lightapp/view/CustomerSelectView;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/view/CustomerSelectView;->e()Lcom/waiqin365/lightapp/kehu/b/am;

    move-result-object v1

    iget-object v1, v1, Lcom/waiqin365/lightapp/kehu/b/am;->a:Ljava/lang/String;

    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_0

    const-string/jumbo v1, "conditions.cmId"

    iget-object v2, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->d:Lcom/waiqin365/lightapp/view/CustomerSelectView;

    invoke-virtual {v2}, Lcom/waiqin365/lightapp/view/CustomerSelectView;->e()Lcom/waiqin365/lightapp/kehu/b/am;

    move-result-object v2

    iget-object v2, v2, Lcom/waiqin365/lightapp/kehu/b/am;->a:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string/jumbo v1, ""

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->showProgressDialog(Ljava/lang/String;)V

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v1

    invoke-virtual {v1, p0}, Lcom/waiqin365/base/login/mainview/a;->p(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v1

    new-instance v2, Lcom/waiqin365/lightapp/chexiao/b/a/k;

    invoke-direct {v2, v1, v0}, Lcom/waiqin365/lightapp/chexiao/b/a/k;-><init>(Ljava/lang/String;Ljava/util/HashMap;)V

    new-instance v0, Lcom/waiqin365/lightapp/chexiao/b/b;

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->a:Landroid/os/Handler;

    invoke-direct {v0, v1, v2}, Lcom/waiqin365/lightapp/chexiao/b/b;-><init>(Landroid/os/Handler;Lcom/waiqin365/lightapp/chexiao/b/c;)V

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/chexiao/b/b;->start()V

    :goto_0
    return-void

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->mContext:Landroid/content/Context;

    const v1, 0x7f08057a

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->getString(I)Ljava/lang/String;

    move-result-object v1

    const/4 v2, 0x1

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    goto :goto_0
.end method

.method public onClick(Landroid/view/View;)V
    .locals 8

    const-wide/16 v6, 0x0

    const/4 v4, 0x1

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    sparse-switch v0, :sswitch_data_0

    :goto_0
    return-void

    :sswitch_0
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->finish()V

    goto :goto_0

    :sswitch_1
    new-instance v0, Landroid/content/Intent;

    const-class v1, Lcom/waiqin365/lightapp/chexiao/CXRecordsListSKActy;

    invoke-direct {v0, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->startActivity(Landroid/content/Intent;)V

    goto :goto_0

    :sswitch_2
    const v0, 0x7f08081e

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->getString(I)Ljava/lang/String;

    move-result-object v0

    const-string/jumbo v1, "http://mobile.waiqin365.com/p-guide-855.html"

    invoke-static {p0, v0, v1}, Lcom/waiqin365/base/login/fragment/a;->a(Landroid/app/Activity;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0

    :sswitch_3
    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->d:Lcom/waiqin365/lightapp/view/CustomerSelectView;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/view/CustomerSelectView;->e()Lcom/waiqin365/lightapp/kehu/b/am;

    move-result-object v1

    if-eqz v1, :cond_2

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->d:Lcom/waiqin365/lightapp/view/CustomerSelectView;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/view/CustomerSelectView;->e()Lcom/waiqin365/lightapp/kehu/b/am;

    move-result-object v1

    iget-object v1, v1, Lcom/waiqin365/lightapp/kehu/b/am;->a:Ljava/lang/String;

    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_2

    const-string/jumbo v1, "data.cm_id"

    iget-object v2, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->d:Lcom/waiqin365/lightapp/view/CustomerSelectView;

    invoke-virtual {v2}, Lcom/waiqin365/lightapp/view/CustomerSelectView;->e()Lcom/waiqin365/lightapp/kehu/b/am;

    move-result-object v2

    iget-object v2, v2, Lcom/waiqin365/lightapp/kehu/b/am;->a:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->j:Ljava/lang/String;

    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_0

    const-string/jumbo v1, "data.visit_implement_id"

    iget-object v2, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->j:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    :cond_0
    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->f:Lcom/waiqin365/lightapp/kehu/view/MultilineTextView;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/kehu/view/MultilineTextView;->d()Ljava/lang/CharSequence;

    move-result-object v1

    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_1

    const-string/jumbo v1, "data.remark"

    iget-object v2, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->f:Lcom/waiqin365/lightapp/kehu/view/MultilineTextView;

    invoke-virtual {v2}, Lcom/waiqin365/lightapp/kehu/view/MultilineTextView;->d()Ljava/lang/CharSequence;

    move-result-object v2

    invoke-interface {v2}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    :cond_1
    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->g:Landroid/widget/EditText;

    invoke-virtual {v1}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_4

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->g:Landroid/widget/EditText;

    invoke-virtual {v1}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1, v6, v7}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;D)D

    move-result-wide v2

    cmpl-double v1, v2, v6

    if-eqz v1, :cond_3

    const-string/jumbo v1, "data.receive_amount"

    iget-object v2, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->g:Landroid/widget/EditText;

    invoke-virtual {v2}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    :goto_1
    const-string/jumbo v1, "data.token"

    iget-object v2, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->b:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string/jumbo v1, ""

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->showProgressDialog(Ljava/lang/String;)V

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v1

    invoke-virtual {v1, p0}, Lcom/waiqin365/base/login/mainview/a;->p(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v1

    new-instance v2, Lcom/waiqin365/lightapp/chexiao/b/a/af;

    invoke-direct {v2, v1, v0}, Lcom/waiqin365/lightapp/chexiao/b/a/af;-><init>(Ljava/lang/String;Ljava/util/HashMap;)V

    new-instance v0, Lcom/waiqin365/lightapp/chexiao/b/b;

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->a:Landroid/os/Handler;

    invoke-direct {v0, v1, v2}, Lcom/waiqin365/lightapp/chexiao/b/b;-><init>(Landroid/os/Handler;Lcom/waiqin365/lightapp/chexiao/b/c;)V

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/chexiao/b/b;->start()V

    goto/16 :goto_0

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->mContext:Landroid/content/Context;

    const v1, 0x7f08057a

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1, v4}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    goto/16 :goto_0

    :cond_3
    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->mContext:Landroid/content/Context;

    const v2, 0x7f080864

    invoke-virtual {p0, v2}, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-static {v1, v2, v4}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    goto :goto_1

    :cond_4
    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->mContext:Landroid/content/Context;

    const v2, 0x7f080865

    invoke-virtual {p0, v2}, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-static {v1, v2, v4}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    goto :goto_1

    :sswitch_data_0
    .sparse-switch
        0x7f0c008a -> :sswitch_0
        0x7f0c008c -> :sswitch_2
        0x7f0c0093 -> :sswitch_1
        0x7f0c0163 -> :sswitch_3
    .end sparse-switch
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 12

    const/4 v11, 0x1

    const/4 v10, 0x0

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onCreate(Landroid/os/Bundle;)V

    const v0, 0x7f03002e

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->setContentView(I)V

    new-instance v0, Lcom/waiqin365/lightapp/chexiao/ds;

    invoke-static {}, Lcom/waiqin365/lightapp/product/e/b;->i()D

    move-result-wide v2

    neg-double v2, v2

    invoke-static {}, Lcom/waiqin365/lightapp/product/e/b;->i()D

    move-result-wide v4

    iget-object v6, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->g:Landroid/widget/EditText;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const v7, 0x7f080031

    invoke-virtual {p0, v7}, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->getString(I)Ljava/lang/String;

    move-result-object v7

    invoke-virtual {v1, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v7, "-"

    invoke-virtual {v1, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-static {}, Lcom/waiqin365/lightapp/product/e/b;->i()D

    move-result-wide v8

    invoke-virtual {v1, v8, v9}, Ljava/lang/StringBuilder;->append(D)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v7

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const v8, 0x7f080032

    invoke-virtual {p0, v8}, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->getString(I)Ljava/lang/String;

    move-result-object v8

    invoke-virtual {v1, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-static {}, Lcom/waiqin365/lightapp/product/e/b;->i()D

    move-result-wide v8

    invoke-virtual {v1, v8, v9}, Ljava/lang/StringBuilder;->append(D)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v8

    move-object v1, p0

    invoke-direct/range {v0 .. v8}, Lcom/waiqin365/lightapp/chexiao/ds;-><init>(Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;DDLandroid/widget/EditText;Ljava/lang/String;Ljava/lang/String;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->o:Lcom/waiqin365/lightapp/product/c/h;

    const v0, 0x7f0c0160

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/login/mainview/TitleBar;

    iput-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->c:Lcom/waiqin365/base/login/mainview/TitleBar;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "title"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->c:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->e:Landroid/widget/TextView;

    const v1, 0x7f08061b

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->c:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->d:Landroid/widget/Button;

    const v1, 0x7f08061a

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->c:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->i:Landroid/view/View;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->c:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->d:Landroid/widget/Button;

    invoke-virtual {v0, v10}, Landroid/widget/Button;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->c:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->h:Landroid/view/View;

    invoke-virtual {v0, v10}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->c:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->d:Landroid/widget/Button;

    invoke-virtual {v0, p0}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->c:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->a:Landroid/widget/ImageButton;

    invoke-virtual {v0, p0}, Landroid/widget/ImageButton;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->c:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->f:Landroid/widget/ImageView;

    invoke-virtual {v0, v10}, Landroid/widget/ImageView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->c:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->f:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c0169

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    iput-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->g:Landroid/widget/EditText;

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->o:Lcom/waiqin365/lightapp/product/c/h;

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->g:Landroid/widget/EditText;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/product/c/h;->a(Landroid/widget/EditText;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->g:Landroid/widget/EditText;

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->o:Lcom/waiqin365/lightapp/product/c/h;

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->addTextChangedListener(Landroid/text/TextWatcher;)V

    const v0, 0x7f0c0163

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    iput-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->h:Landroid/widget/Button;

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->h:Landroid/widget/Button;

    invoke-virtual {v0, p0}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c0165

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/LabelViewH;

    iput-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->e:Lcom/waiqin365/lightapp/view/LabelViewH;

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->e:Lcom/waiqin365/lightapp/view/LabelViewH;

    const v1, 0x7f080033

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/LabelViewH;->setLabel(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->e:Lcom/waiqin365/lightapp/view/LabelViewH;

    invoke-virtual {v0, v11}, Lcom/waiqin365/lightapp/view/LabelViewH;->setBottomLineStatus(Z)V

    const v0, 0x7f0c016b

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/view/MultilineTextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->f:Lcom/waiqin365/lightapp/kehu/view/MultilineTextView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->f:Lcom/waiqin365/lightapp/kehu/view/MultilineTextView;

    const v1, 0x7f08069a

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/view/MultilineTextView;->setLabel(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->f:Lcom/waiqin365/lightapp/kehu/view/MultilineTextView;

    const-string/jumbo v1, "2"

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/view/MultilineTextView;->setMustinput(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->f:Lcom/waiqin365/lightapp/kehu/view/MultilineTextView;

    invoke-virtual {v0, v10}, Lcom/waiqin365/lightapp/kehu/view/MultilineTextView;->setBottomLineStatus(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->f:Lcom/waiqin365/lightapp/kehu/view/MultilineTextView;

    const v1, 0x7f080331

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/view/MultilineTextView;->setHint(Ljava/lang/String;)V

    const v0, 0x7f0c0164

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/CustomerSelectView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->d:Lcom/waiqin365/lightapp/view/CustomerSelectView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->d:Lcom/waiqin365/lightapp/view/CustomerSelectView;

    const-string/jumbo v1, "1"

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/CustomerSelectView;->setMustinput(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->d:Lcom/waiqin365/lightapp/view/CustomerSelectView;

    const v1, 0x7f0801cb

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/CustomerSelectView;->setLabel(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->d:Lcom/waiqin365/lightapp/view/CustomerSelectView;

    invoke-virtual {v0, v11}, Lcom/waiqin365/lightapp/view/CustomerSelectView;->setBottomLineStatus(Z)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "isSeniorVisit"

    invoke-virtual {v0, v1, v10}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v0

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->i:Z

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->i:Z

    if-eqz v0, :cond_2

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "cmId"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_1

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "cmName"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_1

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "seniorVisitId"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_1

    new-instance v0, Lcom/waiqin365/lightapp/kehu/b/am;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/kehu/b/am;-><init>()V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->getIntent()Landroid/content/Intent;

    move-result-object v1

    const-string/jumbo v2, "cmId"

    invoke-virtual {v1, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/am;->a:Ljava/lang/String;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->getIntent()Landroid/content/Intent;

    move-result-object v1

    const-string/jumbo v2, "cmName"

    invoke-virtual {v1, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/am;->d:Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->d:Lcom/waiqin365/lightapp/view/CustomerSelectView;

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/view/CustomerSelectView;->setCmCustomerInfo(Lcom/waiqin365/lightapp/kehu/b/am;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->d:Lcom/waiqin365/lightapp/view/CustomerSelectView;

    invoke-virtual {v0, v10}, Lcom/waiqin365/lightapp/view/CustomerSelectView;->setEnabled(Z)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "seniorVisitId"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->j:Ljava/lang/String;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->a()V

    :goto_1
    return-void

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->c:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->e:Landroid/widget/TextView;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->getIntent()Landroid/content/Intent;

    move-result-object v1

    const-string/jumbo v2, "title"

    invoke-virtual {v1, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_0

    :cond_1
    const v0, 0x7f0806ac

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->showToast(Ljava/lang/String;)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->finish()V

    goto :goto_1

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->d:Lcom/waiqin365/lightapp/view/CustomerSelectView;

    new-instance v1, Lcom/waiqin365/lightapp/chexiao/dt;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/chexiao/dt;-><init>(Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/CustomerSelectView;->setOnCustomerSelectListener(Lcom/waiqin365/lightapp/view/de;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->d:Lcom/waiqin365/lightapp/view/CustomerSelectView;

    invoke-virtual {v0, v11}, Lcom/waiqin365/lightapp/view/CustomerSelectView;->setEnabled(Z)V

    goto :goto_1
.end method
